var MY_SM_SEWAGE = (function() {
	
	// 收集页面查询参数
	function getDetailParams(){
		
		var data = {};

		// data.dateYm = $('#year').val() + '' + $('#month').val();
		data.dtFrom = $('#dtFrom').val();
		data.dtTo = $('#dtTo').val();
		data.institutionId = $('#institutionId').val();
		data.businessSubType = $('#test_sec').find('select[name="businessSubType"]').val();
		return data;
	}
	
	return {
		getDetailParams:getDetailParams
	}
})();

$(document).ready(function() {
	
	// 查看明细
//	$('#tbodySpecimenList').on('click','button[name="showDetail"]',function(){
//		var $that = $(this);
//		
//		var institution_name  = $that.closest('tr').data('institution_name');
//		// 设置明细页面的医疗机构名字
//		$('#institution_name_dis').text(institution_name+'('+ $('#checkDtFrom').val()+'至' + $('#checkDtTo').val()+')');
//		
//		$('.input-toggle').toggle();//显示部分切换
//		
//		var $thead = $('#sewage_thead');
//	    var $tbody = $('#sewage_tbody');
//		var params = MY_SM_SEWAGE.getDetailParams();
//		MY_SEWAGE_COM.loadDetailItem(params,$thead,$tbody); 
//	});
});